package com.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@AllArgsConstructor
@Data
@NoArgsConstructor
public class FriendShip {
   Integer id	;
   Integer uId;	//用户id	外键
   Integer  friendId;	//好友的id	外键
   Integer friendLevel;	//亲密等级
   @TableField(value = "create_time",fill = FieldFill.INSERT)
   LocalDateTime createTime;//创建时间
   @TableField(value = "update_time",fill = FieldFill.UPDATE)
   LocalDateTime updateTime;//修改时间
}
